package com.jbl.ma.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author jbl
 * @since 2020-12-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ma_repair")
@ApiModel(value="Repair对象", description="")
public class Repair implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "维修编号")
      @TableId(value = "repair_id", type = IdType.ASSIGN_ID)
    private String repairId;

    @ApiModelProperty(value = "申请人:外键")
    private String teacherNumber;

    @ApiModelProperty(value = "维修人:外键:[有值接收，无值未接收]")
    private String userId;

    @ApiModelProperty(value = "维修类型:[网络不通-1，页面卡顿-2，...]")
    private Integer repairType;

    @ApiModelProperty(value = "问题描述")
    private String content;

    @ApiModelProperty(value = "维修状态:[未维修-0，已维修-1]")
    private Integer repairStatus;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT) //插入操作时自动更新该字段
    private Date gmtCreate;

    @ApiModelProperty(value = "维修时间")
    private Date repairTime;


}
